package com.shuhe.domain.dbTodb;

import org.influxdb.InfluxDB;

import java.sql.Connection;

public class DbConnect {
    private String url;
    private String taskType;
    private InfluxDB sourInfluxDB;
    private Connection sourConn;
    private Connection destConn;

    private Connection metaConn;

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public Connection getMetaConn() {
        return metaConn;
    }

    public void setMetaConn(Connection metaConn) {
        this.metaConn = metaConn;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public InfluxDB getSourInfluxDB() {
        return sourInfluxDB;
    }

    public void setSourInfluxDB(InfluxDB sourInfluxDB) {
        this.sourInfluxDB = sourInfluxDB;
    }

    public Connection getSourConn() {
        return sourConn;
    }

    public void setSourConn(Connection sourConn) {
        this.sourConn = sourConn;
    }

    public Connection getDestConn() {
        return destConn;
    }

    public void setDestConn(Connection destConn) {
        this.destConn = destConn;
    }
}
